xentrace: Clear lost records when disabling tracing
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 3 Feb 2010 09:35:56 +0000 (09:35 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 3 Feb 2010 09:35:56 +0000 (09:35 +0000)
commit7a223440b71e664b31505eba0a064566d03d7e2d
tree04f8a4fff275806f3b9bc8b7ae02f8dd29da377c
parenteddd8e39554e06e792d5fe5bb5dbeed8dbeceaf6
xentrace: Clear lost records when disabling tracing

This patch clears the "lost records" flag on each cpu when tracing is
disabled.

Without this patch, the next time tracing starts, cpus with lost
records will generate lost record traces, even though buffers are
empty and no tracing has recently happened.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
xen/common/trace.c